// $Id: MyFunction.java 1932 2013-01-29 14:40:05Z phil $

package sma.jade;

import jade.core.Agent;

/**
 * Subclass of the generic Function class to compute
 * the log function as the primitive of 1/X
 * @author laroque@u-cergy.fr
 * @version $Rev: 1932 $
 */
public class MyFunction extends Function {

  /** Function to sum is 1/X */
  public double f(double x) { return 1 / x; }

  /** SImply calls Function constructor */
  public MyFunction(double min, double max, double delta) {
    super(min, max, delta);
    } 
}